package com.qf.service;

import com.qf.entity.Privilege;
import com.qf.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


public interface LoginService {
    User getPasswordByUserId(String userId);

    void modifyPasswordByUserId(String userId, String newpassword);

    List<Privilege> findPrivileges(int roleId);
}
